<template>
    <div id="contain">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </div>
</template>
<script>
import {GainCategories} from '@/service/Api.js';
export default {
    data(){
        return{

        }
    },
    created(){
        GainCategories().then((res)=>{
            console.log(res)
        })

    }
    
}
</script>
<style scoped>
#contain{
    min-width: 980px;
    margin: auto;
    width: 70%;
    min-height:230px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    background-color: DodgerBlue;
    justify-content: center;
}
#contain> div {
  background-color: #f1f1f1;
  width: 17%;
  margin-left: 20px;
  margin-right: 20px;
  height: 230px;
  margin-top: 15px;
  margin-bottom:15px ;
  text-align: center;
  line-height: 75px;
  font-size: 30px;
}

</style>